xen.git
21 years agobitkeeper revision 1.1159.82.1 (4152d2abNRTmjgcJM5fkbYQyAoi9pA)
mjw@wray-m-3.hpl.hp.com [Thu, 23 Sep 2004 13:42:03 +0000 (13:42 +0000)]
bitkeeper revision 1.1159.82.1 (4152d2abNRTmjgcJM5fkbYQyAoi9pA)

Change device messaging to support adding netifs at runtime,
and to support front-end polling.

21 years agobitkeeper revision 1.1159.1.166 (41515bbcO3i2KEUTPMBadmjOSG5Sfw)
mjw@wray-m-3.hpl.hp.com [Wed, 22 Sep 2004 11:02:20 +0000 (11:02 +0000)]
bitkeeper revision 1.1159.1.166 (41515bbcO3i2KEUTPMBadmjOSG5Sfw)

Add some restart events and make migrate/save events consistent
with other domain events.

21 years agobitkeeper revision 1.1159.1.165 (4151594cmY68ImBqRlb00RkEm61RcQ)
mjw@wray-m-3.hpl.hp.com [Wed, 22 Sep 2004 10:51:56 +0000 (10:51 +0000)]
bitkeeper revision 1.1159.1.165 (4151594cmY68ImBqRlb00RkEm61RcQ)

Split the xend client code into separate synch and asynch client
protocols, and load the asynch one on demand. This speeds up xm
as it doesn't load the asynch code.

21 years agobitkeeper revision 1.1159.1.164 (41503abcmVn6L0phzf-BOxlxa3zgxw)
mjw@wray-m-3.hpl.hp.com [Tue, 21 Sep 2004 14:29:16 +0000 (14:29 +0000)]
bitkeeper revision 1.1159.1.164 (41503abcmVn6L0phzf-BOxlxa3zgxw)

Add support for reconfiguring an existing device,
including support for changing the bridge of a vif.
Treat bridge "null" as meaning no bridge.

21 years agobitkeeper revision 1.1159.1.163 (414febf9gzWkqLgct8GcojztsBLtAA)
xenbk@gandalf.hpl.hp.com [Tue, 21 Sep 2004 08:53:13 +0000 (08:53 +0000)]
bitkeeper revision 1.1159.1.163 (414febf9gzWkqLgct8GcojztsBLtAA)

Merge http://xen.bkbits.net:8080/xeno-unstable.bk
into gandalf.hpl.hp.com:/var/bk/xeno-unstable.bk

21 years agobitkeeper revision 1.1159.79.6 (414f0c30eDJfFqGyvgWEYxbnA7GHDw)
mwilli2@equilibrium.research [Mon, 20 Sep 2004 16:58:24 +0000 (16:58 +0000)]
bitkeeper revision 1.1159.79.6 (414f0c30eDJfFqGyvgWEYxbnA7GHDw)

Merge equilibrium.research:/export/scratch/xeno-xentrace.bk
into equilibrium.research:/export/scratch/xeno-xencheck.bk

21 years agobitkeeper revision 1.1159.80.1 (414f0be4vQDZaLNox7YheSOsmEXZFw)
mwilli2@equilibrium.research [Mon, 20 Sep 2004 16:57:08 +0000 (16:57 +0000)]
bitkeeper revision 1.1159.80.1 (414f0be4vQDZaLNox7YheSOsmEXZFw)

Clean up terminology in comments and fix xentrace for new memory
mapping interface.

21 years agobitkeeper revision 1.1159.79.5 (414eb5ccBh7RW8Eo9mCc8WaCqLx0Kg)
kaf24@freefall.cl.cam.ac.uk [Mon, 20 Sep 2004 10:49:48 +0000 (10:49 +0000)]
bitkeeper revision 1.1159.79.5 (414eb5ccBh7RW8Eo9mCc8WaCqLx0Kg)

Ensure we get output from C extensions via stdout/stderr, by disabling
default stream buffering.

21 years agobitkeeper revision 1.1159.79.4 (414ea99cE4RZfWihQhMkvClcGfAGEA)
kaf24@freefall.cl.cam.ac.uk [Mon, 20 Sep 2004 09:57:48 +0000 (09:57 +0000)]
bitkeeper revision 1.1159.79.4 (414ea99cE4RZfWihQhMkvClcGfAGEA)

Daemonization fixes for xend. For some reason I cannot capture output
from C extensions that use printf/fprintf to stdout and stderr. This
can't be hard to fix though.

21 years agobitkeeper revision 1.1159.79.3 (414c2251mzKL-aQm0trJwzhIuFOv8Q)
kaf24@freefall.cl.cam.ac.uk [Sat, 18 Sep 2004 11:56:01 +0000 (11:56 +0000)]
bitkeeper revision 1.1159.79.3 (414c2251mzKL-aQm0trJwzhIuFOv8Q)

Stricter skbuff checking in net backend driver. Ensure skbs to be transferred
to other domains are allocated out of our secure cache.

21 years agobitkeeper revision 1.1159.79.2 (414c1134FG1zvS9xwv2yPDvyS7W3ig)
kaf24@freefall.cl.cam.ac.uk [Sat, 18 Sep 2004 10:43:00 +0000 (10:43 +0000)]
bitkeeper revision 1.1159.79.2 (414c1134FG1zvS9xwv2yPDvyS7W3ig)

Linux scrubs memory before returnign it to Xen, or transferring it to
other domains (e.g., net backend driver). To avoid continual scrubbing during
network transfers, I allocate rx skbuffs from a dedicated slab cache. Pages
only neded to be scrubbed on entry to the cache, which should be ratehr more
occasional than allocs/frees.
Finally, scrubbing can be entirely disabled via a config option under the
'XEN' menu in the 2.4 and 2.6 kernel configurators.

21 years agobitkeeper revision 1.1159.79.1 (414b5fab__RjPaRIcKFGQmiG7K6ggA)
kaf24@freefall.cl.cam.ac.uk [Fri, 17 Sep 2004 22:05:31 +0000 (22:05 +0000)]
bitkeeper revision 1.1159.79.1 (414b5fab__RjPaRIcKFGQmiG7K6ggA)

SrvDaemon.py, xend:
  Xend daemonization fixes from Charles Coffing.

21 years agobitkeeper revision 1.1159.1.162 (414b0c7eCPgG8brLgsKH1SwrQz7JJQ)
mjw@wray-m-3.hpl.hp.com [Fri, 17 Sep 2004 16:10:38 +0000 (16:10 +0000)]
bitkeeper revision 1.1159.1.162 (414b0c7eCPgG8brLgsKH1SwrQz7JJQ)

Fix args to vnet control command.

21 years agobitkeeper revision 1.1159.1.161 (4149eda74Qj-LHfB3E2bfFqo4OxI5g)
cl349@freefall.cl.cam.ac.uk [Thu, 16 Sep 2004 19:46:47 +0000 (19:46 +0000)]
bitkeeper revision 1.1159.1.161 (4149eda74Qj-LHfB3E2bfFqo4OxI5g)

The icmp_filter for raw ip sockets can't handle the skbs we build.  It wants
to look at the ICMP header and expects it to be located at skb->data past the
IP header.  Our skbs have all the data past the IP header in fragment buffers.

Pull the icmphdr into skb->data before looking at the icmp header.

21 years agobitkeeper revision 1.1159.1.160 (4149af5a8taJ2-QrPxDUB9rVcI6DrQ)
mwilli2@equilibrium.research [Thu, 16 Sep 2004 15:20:58 +0000 (15:20 +0000)]
bitkeeper revision 1.1159.1.160 (4149af5a8taJ2-QrPxDUB9rVcI6DrQ)

Merge ssh://srg//auto/groups/xeno/BK/xeno-unstable.bk
into equilibrium.research:/export/scratch/xeno-xendomains.bk

21 years agobitkeeper revision 1.1159.78.1 (4149adf72Gb8APRtx2_hA1cGWLUEOQ)
shand@spidean.research.intel-research.net [Thu, 16 Sep 2004 15:15:03 +0000 (15:15 +0000)]
bitkeeper revision 1.1159.78.1 (4149adf72Gb8APRtx2_hA1cGWLUEOQ)

all build without front end drivers

21 years agobitkeeper revision 1.1159.1.159 (4149ad5eeJbVAMvhnQ8f-lEEF57SLA)
mwilli2@equilibrium.research [Thu, 16 Sep 2004 15:12:30 +0000 (15:12 +0000)]
bitkeeper revision 1.1159.1.159 (4149ad5eeJbVAMvhnQ8f-lEEF57SLA)

Merge ssh://srg//auto/groups/xeno/BK/xeno-unstable.bk
into equilibrium.research:/export/scratch/xeno-xendomains.bk

21 years agobitkeeper revision 1.1159.77.1 (4149ad3aBuK25kci3hi4OU35SyNfaw)
mwilli2@equilibrium.research [Thu, 16 Sep 2004 15:11:54 +0000 (15:11 +0000)]
bitkeeper revision 1.1159.77.1 (4149ad3aBuK25kci3hi4OU35SyNfaw)

Tweaks to make Xensv work for now.

21 years agobitkeeper revision 1.1159.1.158 (41499106LOJstE56FhydVjOBF9ioOQ)
kaf24@freefall.cl.cam.ac.uk [Thu, 16 Sep 2004 13:11:34 +0000 (13:11 +0000)]
bitkeeper revision 1.1159.1.158 (41499106LOJstE56FhydVjOBF9ioOQ)

Improve configuration of virtual device drivers in XenLinux.

21 years agobitkeeper revision 1.1159.1.157 (41498180eHcx-bWB5PNWSkz9fUhPzA)
kaf24@freefall.cl.cam.ac.uk [Thu, 16 Sep 2004 12:05:20 +0000 (12:05 +0000)]
bitkeeper revision 1.1159.1.157 (41498180eHcx-bWB5PNWSkz9fUhPzA)

Put the scheduling check back into the network backend as it may
be useful to frontend drivers in some circumstances.

21 years agobitkeeper revision 1.1159.1.156 (41497cc6tyJ_qfo6yfdUemt3yuBvew)
kaf24@freefall.cl.cam.ac.uk [Thu, 16 Sep 2004 11:45:10 +0000 (11:45 +0000)]
bitkeeper revision 1.1159.1.156 (41497cc6tyJ_qfo6yfdUemt3yuBvew)

A safe, although perhaps slightly pessimistic, fix for notification-
avoidance between net frontend and backend on the transmit path.

21 years agobitkeeper revision 1.1159.1.155 (414978fb_upK1Chu4SGdV6AGC6e2jg)
kaf24@freefall.cl.cam.ac.uk [Thu, 16 Sep 2004 11:28:59 +0000 (11:28 +0000)]
bitkeeper revision 1.1159.1.155 (414978fb_upK1Chu4SGdV6AGC6e2jg)

Cset exclude: cl349@freefall.cl.cam.ac.uk|ChangeSet|20040916093252|64395

21 years agobitkeeper revision 1.1159.1.154 (41496da40BGwU5Q1CB6023ixz5rlUg)
cl349@freefall.cl.cam.ac.uk [Thu, 16 Sep 2004 10:40:36 +0000 (10:40 +0000)]
bitkeeper revision 1.1159.1.154 (41496da40BGwU5Q1CB6023ixz5rlUg)

Merge freefall.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/cl349/BK/xeno.bk-26dom0

21 years agobitkeeper revision 1.1159.1.153 (41495dc4v3GzGJz41U0jh2uqLzhlIw)
cl349@freefall.cl.cam.ac.uk [Thu, 16 Sep 2004 09:32:52 +0000 (09:32 +0000)]
bitkeeper revision 1.1159.1.153 (41495dc4v3GzGJz41U0jh2uqLzhlIw)

Fix ping with large/fragmented packets from domU to dom0.

21 years agobitkeeper revision 1.1159.76.8 (414952f4XmpfTwUZczAePp3RY8piQQ)
kaf24@freefall.cl.cam.ac.uk [Thu, 16 Sep 2004 08:46:44 +0000 (08:46 +0000)]
bitkeeper revision 1.1159.76.8 (414952f4XmpfTwUZczAePp3RY8piQQ)

A few network cleanups (but this fixes no bugs).

21 years agobitkeeper revision 1.1159.76.7 (414943d995lSOCWl4nPAANqK9VI2ZQ)
kaf24@freefall.cl.cam.ac.uk [Thu, 16 Sep 2004 07:42:17 +0000 (07:42 +0000)]
bitkeeper revision 1.1159.76.7 (414943d995lSOCWl4nPAANqK9VI2ZQ)

Use correct rx call for NAPI in the net frontend.

21 years agobitkeeper revision 1.1159.76.6 (41487abb5GqP-hTVOU7JzsqGjxbo3w)
mwilli2@equilibrium.research [Wed, 15 Sep 2004 17:24:11 +0000 (17:24 +0000)]
bitkeeper revision 1.1159.76.6 (41487abb5GqP-hTVOU7JzsqGjxbo3w)

Tiny tweak to make xensv start again.

21 years agobitkeeper revision 1.1159.76.5 (41486c245wZ_GkCuT3kyo8VTw2o6Mg)
mwilli2@equilibrium.research [Wed, 15 Sep 2004 16:21:56 +0000 (16:21 +0000)]
bitkeeper revision 1.1159.76.5 (41486c245wZ_GkCuT3kyo8VTw2o6Mg)

Tweak start / stop priorities to do the right thing in conjunction
with the xendomains script.

21 years agobitkeeper revision 1.1159.76.4 (41486b81LlL7eGHBxdKlHNQ3D64MYA)
mwilli2@equilibrium.research [Wed, 15 Sep 2004 16:19:13 +0000 (16:19 +0000)]
bitkeeper revision 1.1159.76.4 (41486b81LlL7eGHBxdKlHNQ3D64MYA)

Restore xendomains script.

21 years agobitkeeper revision 1.1159.76.3 (41477193-I44UnLv_M00Uep14KEevA)
kaf24@freefall.cl.cam.ac.uk [Tue, 14 Sep 2004 22:32:51 +0000 (22:32 +0000)]
bitkeeper revision 1.1159.76.3 (41477193-I44UnLv_M00Uep14KEevA)

Make the TLS library banner more forceful in its warning. We really
do need people to move /lib/tls out of the library search path!

21 years agobitkeeper revision 1.1159.76.2 (41476bf8DtivcqdJjf8LGjPT87C7wA)
kaf24@freefall.cl.cam.ac.uk [Tue, 14 Sep 2004 22:08:56 +0000 (22:08 +0000)]
bitkeeper revision 1.1159.76.2 (41476bf8DtivcqdJjf8LGjPT87C7wA)

Fix an error-path page refcnt bug (Charles Coffing).

21 years agobitkeeper revision 1.1159.76.1 (41476ba5rg4qFnlhUY3tth7mouxVQA)
kaf24@freefall.cl.cam.ac.uk [Tue, 14 Sep 2004 22:07:33 +0000 (22:07 +0000)]
bitkeeper revision 1.1159.76.1 (41476ba5rg4qFnlhUY3tth7mouxVQA)

Use a better dummy rootdev in Linux 2.6, so we don't auto-dhcp
when we shouldn't (David Becker).

21 years agobitkeeper revision 1.1159.1.152 (4146b6af3ABfJhokEKrtWBdtVjPUYA)
cl349@freefall.cl.cam.ac.uk [Tue, 14 Sep 2004 09:15:27 +0000 (09:15 +0000)]
bitkeeper revision 1.1159.1.152 (4146b6af3ABfJhokEKrtWBdtVjPUYA)

Sync with userland domain builder.

21 years agobitkeeper revision 1.1159.1.151 (4146b5306QI3lyn9RWNjqIQrf4XltA)
cl349@freefall.cl.cam.ac.uk [Tue, 14 Sep 2004 09:09:04 +0000 (09:09 +0000)]
bitkeeper revision 1.1159.1.151 (4146b5306QI3lyn9RWNjqIQrf4XltA)

Merge active/inactive writable pagetable code.

21 years agobitkeeper revision 1.1159.1.150 (414576ba0IIZE6x_zn_bG-e7NfcSzw)
cl349@freefall.cl.cam.ac.uk [Mon, 13 Sep 2004 10:30:18 +0000 (10:30 +0000)]
bitkeeper revision 1.1159.1.150 (414576ba0IIZE6x_zn_bG-e7NfcSzw)

Don't reconnected disconnected page since we do not disconnect it any more.
(disconnect was removed in rev 1.48)

21 years agobitkeeper revision 1.1159.1.149 (414571beGjCT9GRPH4uHYLTD5rD7RA)
cl349@freefall.cl.cam.ac.uk [Mon, 13 Sep 2004 10:09:02 +0000 (10:09 +0000)]
bitkeeper revision 1.1159.1.149 (414571beGjCT9GRPH4uHYLTD5rD7RA)

Fix debug output.

21 years agobitkeeper revision 1.1159.1.148 (4142fe723Wt2mBhN5bsk_saNcZmnxg)
iap10@labyrinth.cl.cam.ac.uk [Sat, 11 Sep 2004 13:32:34 +0000 (13:32 +0000)]
bitkeeper revision 1.1159.1.148 (4142fe723Wt2mBhN5bsk_saNcZmnxg)

Live migration shadow table support for writable page tables.

21 years agobitkeeper revision 1.1159.1.147 (4141e72eeZrD_qHqY46QUsaCTAuNuQ)
iap10@labyrinth.cl.cam.ac.uk [Fri, 10 Sep 2004 17:41:02 +0000 (17:41 +0000)]
bitkeeper revision 1.1159.1.147 (4141e72eeZrD_qHqY46QUsaCTAuNuQ)

Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into labyrinth.cl.cam.ac.uk:/auto/anfs/scratch/labyrinth/iap10/xeno-clone/xeno.bk

21 years agobitkeeper revision 1.1159.75.1 (4141e7297AE7URpA2fz0RRbAQySy8w)
iap10@labyrinth.cl.cam.ac.uk [Fri, 10 Sep 2004 17:40:57 +0000 (17:40 +0000)]
bitkeeper revision 1.1159.75.1 (4141e7297AE7URpA2fz0RRbAQySy8w)

Migration fix for immutable back pointers.

21 years agobitkeeper revision 1.1159.1.146 (4140f4e4MoMfo8OhzKj1hieTq2id2A)
kaf24@freefall.cl.cam.ac.uk [Fri, 10 Sep 2004 00:27:16 +0000 (00:27 +0000)]
bitkeeper revision 1.1159.1.146 (4140f4e4MoMfo8OhzKj1hieTq2id2A)

Allow a p.t. to be mapped at multiple different virtual addresses. This is
a pretty benign situation right now (although writable pagetables will fail,
exiting the domain). In future it may well cause significant slowdown to
writable pagetables and/or shadow pagetables. So beware!!

21 years agobitkeeper revision 1.1159.1.145 (4140e840rdAgNzGs4H22eopT-ononA)
kaf24@freefall.cl.cam.ac.uk [Thu, 9 Sep 2004 23:33:20 +0000 (23:33 +0000)]
bitkeeper revision 1.1159.1.145 (4140e840rdAgNzGs4H22eopT-ononA)

Fix Xen for recent GCC.

21 years agobitkeeper revision 1.1159.1.144 (413fafcd5CFNlwHKLUYzorp_LsbEKA)
kaf24@freefall.cl.cam.ac.uk [Thu, 9 Sep 2004 01:20:13 +0000 (01:20 +0000)]
bitkeeper revision 1.1159.1.144 (413fafcd5CFNlwHKLUYzorp_LsbEKA)

Fix writable-pagetable initialisation.

21 years agobitkeeper revision 1.1159.1.143 (413faaf2dqvBsgM4ABe5flo11aYh1A)
kaf24@freefall.cl.cam.ac.uk [Thu, 9 Sep 2004 00:59:30 +0000 (00:59 +0000)]
bitkeeper revision 1.1159.1.143 (413faaf2dqvBsgM4ABe5flo11aYh1A)

Fix domain-finalizing dom0_op to check its inputs for sanity.

21 years agobitkeeper revision 1.1159.1.142 (413fa2cd-7ateOlBoBUdfXmFsZV9Yw)
kaf24@freefall.cl.cam.ac.uk [Thu, 9 Sep 2004 00:24:45 +0000 (00:24 +0000)]
bitkeeper revision 1.1159.1.142 (413fa2cd-7ateOlBoBUdfXmFsZV9Yw)

Fix build error.

21 years agobitkeeper revision 1.1159.1.141 (413f74fcTwJtxfSqPOLD17o7tsdJbg)
kaf24@freefall.cl.cam.ac.uk [Wed, 8 Sep 2004 21:09:16 +0000 (21:09 +0000)]
bitkeeper revision 1.1159.1.141 (413f74fcTwJtxfSqPOLD17o7tsdJbg)

Freed PTEs now pass through the TLB-gathering mechanism, as is correct.
We hook them back off into the pte caching allocator using the
SetForeignHeap() mechanism that I added for the network backend.

21 years agobitkeeper revision 1.1159.1.140 (413f68b3CREFxIOSuiOduTrHnibufQ)
kaf24@freefall.cl.cam.ac.uk [Wed, 8 Sep 2004 20:16:51 +0000 (20:16 +0000)]
bitkeeper revision 1.1159.1.140 (413f68b3CREFxIOSuiOduTrHnibufQ)

Fix ClearForeignPage defintion in Linux 2.4 and 2.6.

21 years agobitkeeper revision 1.1159.1.139 (413f4325XttGg5bPpva0Ul0ivQSUGA)
kaf24@freefall.cl.cam.ac.uk [Wed, 8 Sep 2004 17:36:37 +0000 (17:36 +0000)]
bitkeeper revision 1.1159.1.139 (413f4325XttGg5bPpva0Ul0ivQSUGA)

Merge freefall.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into freefall.cl.cam.ac.uk:/local/scratch/kaf24/xeno

21 years agobitkeeper revision 1.1159.74.1 (413f431aIw1lNSoAl0H63fnzXoSZ8Q)
kaf24@freefall.cl.cam.ac.uk [Wed, 8 Sep 2004 17:36:26 +0000 (17:36 +0000)]
bitkeeper revision 1.1159.74.1 (413f431aIw1lNSoAl0H63fnzXoSZ8Q)

Fix TLB flushing on page-type changes. In particular, page-table pages
must trigger a flush when their type changes. To simplify the code we also
flush for LDT/GDT pages, but they will change type very infrequently.

21 years agobitkeeper revision 1.1159.1.138 (413f3575zU7tYDi_ptlg-r1nAnN1Ww)
cl349@freefall.cl.cam.ac.uk [Wed, 8 Sep 2004 16:38:13 +0000 (16:38 +0000)]
bitkeeper revision 1.1159.1.138 (413f3575zU7tYDi_ptlg-r1nAnN1Ww)

Reset PAGE_OFFSET to 0xc0100000 and use VIRT_BASE=0xc0000000.

21 years agobitkeeper revision 1.1159.1.137 (413f0665_0jsl7Ps44McAAquhcKOIQ)
cl349@freefall.cl.cam.ac.uk [Wed, 8 Sep 2004 13:17:25 +0000 (13:17 +0000)]
bitkeeper revision 1.1159.1.137 (413f0665_0jsl7Ps44McAAquhcKOIQ)

Writable pagetables v2.

21 years agobitkeeper revision 1.1159.1.136 (413ed5baHUBJ5EA2PO0yZ_45_I8a5w)
cl349@freefall.cl.cam.ac.uk [Wed, 8 Sep 2004 09:49:46 +0000 (09:49 +0000)]
bitkeeper revision 1.1159.1.136 (413ed5baHUBJ5EA2PO0yZ_45_I8a5w)

g/c support for multiple inactive writable pagetables.
Also use consistent names for bookkeeping data.

21 years agobitkeeper revision 1.1159.1.135 (413e190eP4v_o8snM-gc3l9__yG40g)
kaf24@freefall.cl.cam.ac.uk [Tue, 7 Sep 2004 20:24:46 +0000 (20:24 +0000)]
bitkeeper revision 1.1159.1.135 (413e190eP4v_o8snM-gc3l9__yG40g)

Fix a compile warning.

21 years agobitkeeper revision 1.1159.1.134 (413de87ejWYLp0qBEU80dbncZiMBFA)
cl349@freefall.cl.cam.ac.uk [Tue, 7 Sep 2004 16:57:34 +0000 (16:57 +0000)]
bitkeeper revision 1.1159.1.134 (413de87ejWYLp0qBEU80dbncZiMBFA)

g/c PTWR_TRACK_DOMAIN

21 years agobitkeeper revision 1.1159.1.133 (413de79eqqiR0ctiwmp2JOckLG74Pw)
cl349@freefall.cl.cam.ac.uk [Tue, 7 Sep 2004 16:53:50 +0000 (16:53 +0000)]
bitkeeper revision 1.1159.1.133 (413de79eqqiR0ctiwmp2JOckLG74Pw)

Merge freefall.cl.cam.ac.uk:/auto/groups/xeno/users/cl349/BK/xeno.bk-26dom0
into freefall.cl.cam.ac.uk:/local/scratch/cl349/xeno.bk-26dom0

21 years agobitkeeper revision 1.1159.73.2 (413de7819JSp6BvMAxNzNaHhtLuR3Q)
cl349@freefall.cl.cam.ac.uk [Tue, 7 Sep 2004 16:53:21 +0000 (16:53 +0000)]
bitkeeper revision 1.1159.73.2 (413de7819JSp6BvMAxNzNaHhtLuR3Q)

Tabs -> Spaces and other whitespace cleanup.

21 years agobitkeeper revision 1.1159.1.132 (413de4a3QR-RvHT7TfYwUW7cOo0nzg)
cl349@freefall.cl.cam.ac.uk [Tue, 7 Sep 2004 16:41:07 +0000 (16:41 +0000)]
bitkeeper revision 1.1159.1.132 (413de4a3QR-RvHT7TfYwUW7cOo0nzg)

Merge freefall.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/cl349/BK/xeno.bk-26dom0

21 years agobitkeeper revision 1.1159.73.1 (413de483EcoXREVUizJpurRwrbzoLA)
cl349@freefall.cl.cam.ac.uk [Tue, 7 Sep 2004 16:40:35 +0000 (16:40 +0000)]
bitkeeper revision 1.1159.73.1 (413de483EcoXREVUizJpurRwrbzoLA)

Fast-path pagetable updates which change a mapping from writable to readonly.

21 years agobitkeeper revision 1.1159.1.131 (413ddc610qK3tZi2_2-e23mt5avoNA)
cl349@freefall.cl.cam.ac.uk [Tue, 7 Sep 2004 16:05:53 +0000 (16:05 +0000)]
bitkeeper revision 1.1159.1.131 (413ddc610qK3tZi2_2-e23mt5avoNA)

Load (Net)BSD symbol table from ELF image if requested.

21 years agobitkeeper revision 1.1159.1.130 (413dab6fQ1jHzBNKBK5rX_nzCQLANA)
cl349@freefall.cl.cam.ac.uk [Tue, 7 Sep 2004 12:37:03 +0000 (12:37 +0000)]
bitkeeper revision 1.1159.1.130 (413dab6fQ1jHzBNKBK5rX_nzCQLANA)

Make writable pagetables a domain creation option.

21 years agobitkeeper revision 1.1159.1.129 (413d868bPMWkW0lZg_MuAYIrmx7XDQ)
cl349@freefall.cl.cam.ac.uk [Tue, 7 Sep 2004 09:59:39 +0000 (09:59 +0000)]
bitkeeper revision 1.1159.1.129 (413d868bPMWkW0lZg_MuAYIrmx7XDQ)

Make writable pagetables a domain creation option.

21 years agobitkeeper revision 1.1159.1.128 (413cb8d36YrJe8ra_UvZN0wN9qeQWg)
cl349@labyrinth.cl.cam.ac.uk [Mon, 6 Sep 2004 19:21:55 +0000 (19:21 +0000)]
bitkeeper revision 1.1159.1.128 (413cb8d36YrJe8ra_UvZN0wN9qeQWg)

Allow Linux and NetBSD builds to co-exist.

21 years agobitkeeper revision 1.1159.1.127 (413cb655B-pXolV76jppJJyH2EFWkw)
cl349@labyrinth.cl.cam.ac.uk [Mon, 6 Sep 2004 19:11:17 +0000 (19:11 +0000)]
bitkeeper revision 1.1159.1.127 (413cb655B-pXolV76jppJJyH2EFWkw)

Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno/users/cl349/BK/xeno.bk-nbsd
into labyrinth.cl.cam.ac.uk:/local/scratch/cl349/xeno.bk-nbsd

21 years agobitkeeper revision 1.1159.72.3 (413cb565kAu26gtMpvumani1Zx6Vjw)
cl349@labyrinth.cl.cam.ac.uk [Mon, 6 Sep 2004 19:07:17 +0000 (19:07 +0000)]
bitkeeper revision 1.1159.72.3 (413cb565kAu26gtMpvumani1Zx6Vjw)

Add new files in NetBSD for Xen2.0.

21 years agobitkeeper revision 1.1159.72.2 (413cb4b0nYQ7KFQbxIn6g-4lsRAgbQ)
cl349@labyrinth.cl.cam.ac.uk [Mon, 6 Sep 2004 19:04:16 +0000 (19:04 +0000)]
bitkeeper revision 1.1159.72.2 (413cb4b0nYQ7KFQbxIn6g-4lsRAgbQ)

Add sparse tree for NetBSD.

21 years agobitkeeper revision 1.1159.72.1 (413cb1f9MtRHM7cQFiJRcJ1gYUPxdw)
cl349@labyrinth.cl.cam.ac.uk [Mon, 6 Sep 2004 18:52:41 +0000 (18:52 +0000)]
bitkeeper revision 1.1159.72.1 (413cb1f9MtRHM7cQFiJRcJ1gYUPxdw)

Add NetBSD support.

21 years agobitkeeper revision 1.1159.1.126 (413cb0edcNgU8KKUhhZaxIAIerLhcA)
cl349@freefall.cl.cam.ac.uk [Mon, 6 Sep 2004 18:48:13 +0000 (18:48 +0000)]
bitkeeper revision 1.1159.1.126 (413cb0edcNgU8KKUhhZaxIAIerLhcA)

Merge freefall.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/cl349/BK/xeno.bk-nbsd

21 years agobitkeeper revision 1.1159.69.21 (413c9be3ZggtSn3FWCDWCAl_6chs9w)
iap10@labyrinth.cl.cam.ac.uk [Mon, 6 Sep 2004 17:18:27 +0000 (17:18 +0000)]
bitkeeper revision 1.1159.69.21 (413c9be3ZggtSn3FWCDWCAl_6chs9w)

keyhandler to perform a debug audit of domain memory, checking the page type and
counts are consistent with the pagetable state. Its quite verbose and
prints out details of all interesting pages.
(e.g. pages shared between domains or used for LDT/GDTs).

21 years agobitkeeper revision 1.1159.1.125 (413c8817QeGloXcrun_4wmbHPC3KYw)
cl349@freefall.cl.cam.ac.uk [Mon, 6 Sep 2004 15:53:59 +0000 (15:53 +0000)]
bitkeeper revision 1.1159.1.125 (413c8817QeGloXcrun_4wmbHPC3KYw)

Avoid warning message when validating a linear pagedirectory mapping.

21 years agobitkeeper revision 1.1159.1.124 (413c80f8x6TVGW53WE2vlecpb4z_KA)
cl349@freefall.cl.cam.ac.uk [Mon, 6 Sep 2004 15:23:36 +0000 (15:23 +0000)]
bitkeeper revision 1.1159.1.124 (413c80f8x6TVGW53WE2vlecpb4z_KA)

Avoid warning message when validating a linear pagedirectory mapping.

21 years agobitkeeper revision 1.1159.69.20 (413c7829P-RU1PkUqzwGG3rQ_fI5Qg)
cl349@freefall.cl.cam.ac.uk [Mon, 6 Sep 2004 14:46:01 +0000 (14:46 +0000)]
bitkeeper revision 1.1159.69.20 (413c7829P-RU1PkUqzwGG3rQ_fI5Qg)

Manage L1 pagetables in a kmem_cache, which allows us to keep the
pages pinned while they are not used.

21 years agobitkeeper revision 1.1159.69.19 (413c2ec0U4csp-bDtIykYOqnQQWb7A)
cl349@freefall.cl.cam.ac.uk [Mon, 6 Sep 2004 09:32:48 +0000 (09:32 +0000)]
bitkeeper revision 1.1159.69.19 (413c2ec0U4csp-bDtIykYOqnQQWb7A)

Ensure that unsupported features don't creep into the cpu_caps array.
(without increasing the number of changed files)

21 years agobitkeeper revision 1.1159.69.18 (413baa1bXGfcJkRulx6s9wKLDL1Kkg)
kaf24@freefall.cl.cam.ac.uk [Mon, 6 Sep 2004 00:06:51 +0000 (00:06 +0000)]
bitkeeper revision 1.1159.69.18 (413baa1bXGfcJkRulx6s9wKLDL1Kkg)

Clean up pagetable bootstrap in Linux 2.6. Write-protecting the two
pagetables is now clearer, and we properly deallocate the old pagetables
when we are done with them.

21 years agobitkeeper revision 1.1159.69.17 (413b5ab8tE2tTd_Ht7wxKU0Uktv2_w)
kaf24@freefall.cl.cam.ac.uk [Sun, 5 Sep 2004 18:28:08 +0000 (18:28 +0000)]
bitkeeper revision 1.1159.69.17 (413b5ab8tE2tTd_Ht7wxKU0Uktv2_w)

Fix WBINVD uses.

21 years agobitkeeper revision 1.1159.69.16 (413aa1d0GpVAPcEe9OlMHIT6xiUM_w)
kaf24@freefall.cl.cam.ac.uk [Sun, 5 Sep 2004 05:19:12 +0000 (05:19 +0000)]
bitkeeper revision 1.1159.69.16 (413aa1d0GpVAPcEe9OlMHIT6xiUM_w)

Patch AGP and DRM video drivers to be (hopefully) safe for Xen.
These patches must be applied manually for now:
 cd linux-2.6.8.1-xen0 ; patch -p1 <../linux-2.6.8.1-patches/*.patch

21 years agobitkeeper revision 1.1159.69.15 (413a8e98X2LuwKBOkOzn7uAjeL2KWA)
kaf24@freefall.cl.cam.ac.uk [Sun, 5 Sep 2004 03:57:12 +0000 (03:57 +0000)]
bitkeeper revision 1.1159.69.15 (413a8e98X2LuwKBOkOzn7uAjeL2KWA)

Add full driver configurability for device-capable Linux.

21 years agobitkeeper revision 1.1159.69.14 (413a6308LJJj1t5B4TsyMIFyWP356w)
kaf24@freefall.cl.cam.ac.uk [Sun, 5 Sep 2004 00:51:20 +0000 (00:51 +0000)]
bitkeeper revision 1.1159.69.14 (413a6308LJJj1t5B4TsyMIFyWP356w)

Ensure that unsupported features don't creep into the cpu_caps array.

21 years agobitkeeper revision 1.1159.69.13 (413a58ee74ENA9qdHnGab6iTYgHQRA)
kaf24@scramble.cl.cam.ac.uk [Sun, 5 Sep 2004 00:08:14 +0000 (00:08 +0000)]
bitkeeper revision 1.1159.69.13 (413a58ee74ENA9qdHnGab6iTYgHQRA)

Fix formatting in debug message

21 years agobitkeeper revision 1.1159.69.12 (413a4a15Z23E3TdWcslHMKLH4O-Gww)
kaf24@scramble.cl.cam.ac.uk [Sat, 4 Sep 2004 23:04:53 +0000 (23:04 +0000)]
bitkeeper revision 1.1159.69.12 (413a4a15Z23E3TdWcslHMKLH4O-Gww)

Fix timestamp-scaling calculations in Linux 2.4.
Time now progresses at the correct rate!

21 years agobitkeeper revision 1.1159.69.11 (413a3592ceCfqW4DvqOdKq04_bXOig)
kaf24@scramble.cl.cam.ac.uk [Sat, 4 Sep 2004 21:37:22 +0000 (21:37 +0000)]
bitkeeper revision 1.1159.69.11 (413a3592ceCfqW4DvqOdKq04_bXOig)

Fix our freeing of domain memory when a domain dies.

21 years agobitkeeper revision 1.1159.69.10 (413a1e6ckNNgvyiZ6JU5_vjN5ITSuA)
kaf24@camelot.eng.3leafnetworks.com [Sat, 4 Sep 2004 19:58:36 +0000 (19:58 +0000)]
bitkeeper revision 1.1159.69.10 (413a1e6ckNNgvyiZ6JU5_vjN5ITSuA)

Add pinning of L1 table sback in, as it helps 2.4 performance. At the same
time I've fixed the 'mutable backptr' support in Xen.

21 years agobitkeeper revision 1.1159.69.9 (413a0a4d7ODoJ_4kti38jM2_4EooQA)
kaf24@camelot.eng.3leafnetworks.com [Sat, 4 Sep 2004 18:32:45 +0000 (18:32 +0000)]
bitkeeper revision 1.1159.69.9 (413a0a4d7ODoJ_4kti38jM2_4EooQA)

Cset exclude: kaf24@camelot.eng.3leafnetworks.com|ChangeSet|20040903222602|39015

21 years agobitkeeper revision 1.1159.69.8 (413960891Us2H0wgOni9gC4Dvk3uCw)
kaf24@freefall.cl.cam.ac.uk [Sat, 4 Sep 2004 06:28:25 +0000 (06:28 +0000)]
bitkeeper revision 1.1159.69.8 (413960891Us2H0wgOni9gC4Dvk3uCw)

Fix I/O mapping in Xen/Linux.

21 years agobitkeeper revision 1.1159.69.7 (41394659gzch_AlptZgctoWrGnWAGw)
kaf24@scramble.cl.cam.ac.uk [Sat, 4 Sep 2004 04:36:41 +0000 (04:36 +0000)]
bitkeeper revision 1.1159.69.7 (41394659gzch_AlptZgctoWrGnWAGw)

Fix WBINVD by adding a new hypercall.
Various drivers still use wbinvd directly rather than using the
helper macro in system.h. They should be fixed by sending patches
to the appropriate maintainers (e.g., DRM, AGP, ...).

21 years agobitkeeper revision 1.1159.69.6 (4138ef8dDCN5JpkZV5nXmG3maQGSKw)
kaf24@camelot.eng.3leafnetworks.com [Fri, 3 Sep 2004 22:26:21 +0000 (22:26 +0000)]
bitkeeper revision 1.1159.69.6 (4138ef8dDCN5JpkZV5nXmG3maQGSKw)

Merge ssh://scramble.cl.cam.ac.uk//usr/groups/xeno/BK/xeno.bk
into camelot.eng.3leafnetworks.com:/home/kaf24/xeno

21 years agobitkeeper revision 1.1159.71.1 (4138ef7arWNBBMfQRCJaRyf93H0eqw)
kaf24@camelot.eng.3leafnetworks.com [Fri, 3 Sep 2004 22:26:02 +0000 (22:26 +0000)]
bitkeeper revision 1.1159.71.1 (4138ef7arWNBBMfQRCJaRyf93H0eqw)

Remove L1 PT pinning from Xen. Clean up the fixes for writable
page tables.

21 years agobitkeeper revision 1.1159.69.5 (4138e882jA1YaR_OfTfNHe_uT4PDIg)
iap10@labyrinth.cl.cam.ac.uk [Fri, 3 Sep 2004 21:56:18 +0000 (21:56 +0000)]
bitkeeper revision 1.1159.69.5 (4138e882jA1YaR_OfTfNHe_uT4PDIg)

trivial

21 years agobitkeeper revision 1.1159.69.4 (4138e7ddHCxMMHu0h-Wfahl7MyQaLQ)
iap10@labyrinth.cl.cam.ac.uk [Fri, 3 Sep 2004 21:53:33 +0000 (21:53 +0000)]
bitkeeper revision 1.1159.69.4 (4138e7ddHCxMMHu0h-Wfahl7MyQaLQ)

Merge ssh://xenbk@gandalf.hpl.hp.com//var/bk/xeno-unstable.bk
into labyrinth.cl.cam.ac.uk:/auto/anfs/scratch/labyrinth/iap10/xeno-clone/xeno.bk

21 years agobitkeeper revision 1.1159.69.3 (4138d7a65FvXU3lh0Vx8Nsl4KhPxGw)
iap10@labyrinth.cl.cam.ac.uk [Fri, 3 Sep 2004 20:44:22 +0000 (20:44 +0000)]
bitkeeper revision 1.1159.69.3 (4138d7a65FvXU3lh0Vx8Nsl4KhPxGw)

Fix potential security hole in writeable pagetable implementation:
We wern't ensuring that that L1 pages' VA backpointer is immutable
after the backpointer is initialised  when the page first becomes
linked into a pagetable. The backpointer can only be released after
the type count drops to zero (or 1 if the page is pinned).
In summary: We now ensure that if an L1 page is used in multiple
pagetables it must be at the same virtual address in all of them,
and that L1 pages can only be used once in any given pagetable.
None of these extra rules should be a problem for any OS.

21 years agobitkeeper revision 1.1159.70.3 (41389f22BlnxYbup7d6jcZXvICR6qg)
mjw@wray-m-3.hpl.hp.com [Fri, 3 Sep 2004 16:43:14 +0000 (16:43 +0000)]
bitkeeper revision 1.1159.70.3 (41389f22BlnxYbup7d6jcZXvICR6qg)

Fix problem with domain shutdown events.

21 years agobitkeeper revision 1.1159.69.2 (41385e204Qryz7kXFra9nLruJLGcgw)
iap10@labyrinth.cl.cam.ac.uk [Fri, 3 Sep 2004 12:05:52 +0000 (12:05 +0000)]
bitkeeper revision 1.1159.69.2 (41385e204Qryz7kXFra9nLruJLGcgw)

Merge ssh://xenbk@gandalf.hpl.hp.com//var/bk/xeno-unstable.bk
into labyrinth.cl.cam.ac.uk:/auto/anfs/scratch/labyrinth/iap10/xeno-clone/xeno.bk

21 years agobitkeeper revision 1.1159.70.2 (41385ba0etIbutJgbQZhd1cloVaZyA)
mjw@wray-m-3.hpl.hp.com [Fri, 3 Sep 2004 11:49:52 +0000 (11:49 +0000)]
bitkeeper revision 1.1159.70.2 (41385ba0etIbutJgbQZhd1cloVaZyA)

Merge xenbk@gandalf:/var/bk/xeno-unstable.bk
into wray-m-3.hpl.hp.com:/home/mjw/repos-bk/xeno-unstable.bk

21 years agobitkeeper revision 1.1159.70.1 (41385b9fzIngCKMgQ1v_yLHcILNCiA)
xenbk@gandalf.hpl.hp.com [Fri, 3 Sep 2004 11:55:11 +0000 (11:55 +0000)]
bitkeeper revision 1.1159.70.1 (41385b9fzIngCKMgQ1v_yLHcILNCiA)

Merge http://xen.bkbits.net:8080/xeno-unstable.bk
into gandalf.hpl.hp.com:/var/bk/xeno-unstable.bk

21 years agobitkeeper revision 1.1159.69.1 (413853a0gSBg7s-Zx8jozT3p3xIOXg)
iap10@labyrinth.cl.cam.ac.uk [Fri, 3 Sep 2004 11:21:04 +0000 (11:21 +0000)]
bitkeeper revision 1.1159.69.1 (413853a0gSBg7s-Zx8jozT3p3xIOXg)

Merge ssh://xenbk@gandalf.hpl.hp.com//var/bk/xeno-unstable.bk
into labyrinth.cl.cam.ac.uk:/auto/anfs/scratch/labyrinth/iap10/xeno-clone/xeno.bk

21 years agobitkeeper revision 1.1159.68.4 (4138513ej82nxKggDAvxAH3haoMXLA)
mjw@wray-m-3.hpl.hp.com [Fri, 3 Sep 2004 11:10:54 +0000 (11:10 +0000)]
bitkeeper revision 1.1159.68.4 (4138513ej82nxKggDAvxAH3haoMXLA)

Turn off debug.

21 years agobitkeeper revision 1.1159.68.3 (41385101Grb5mmJcQ0YiLdCY2dOnCg)
mjw@wray-m-3.hpl.hp.com [Fri, 3 Sep 2004 11:09:53 +0000 (11:09 +0000)]
bitkeeper revision 1.1159.68.3 (41385101Grb5mmJcQ0YiLdCY2dOnCg)

Notify device controllers when devices are added or removed so
that they can probe for the devices.

21 years agobitkeeper revision 1.1159.1.123 (41384dfcdRnIRMBS8UnlM1FaR2oMpw)
cl349@freefall.cl.cam.ac.uk [Fri, 3 Sep 2004 10:57:00 +0000 (10:57 +0000)]
bitkeeper revision 1.1159.1.123 (41384dfcdRnIRMBS8UnlM1FaR2oMpw)

Don't output warning messages when using a linear pagetable mapping.

21 years agobitkeeper revision 1.1159.1.122 (41384ddcEDLEgoHoCYQuvXnUiQgwcw)
cl349@freefall.cl.cam.ac.uk [Fri, 3 Sep 2004 10:56:28 +0000 (10:56 +0000)]
bitkeeper revision 1.1159.1.122 (41384ddcEDLEgoHoCYQuvXnUiQgwcw)

Allow loading other images besides Linux images.

21 years agobitkeeper revision 1.1159.68.2 (41383cdfHn8bdXUvTO9mrnc7pCTLGA)
mjw@wray-m-3.hpl.hp.com [Fri, 3 Sep 2004 09:43:59 +0000 (09:43 +0000)]
bitkeeper revision 1.1159.68.2 (41383cdfHn8bdXUvTO9mrnc7pCTLGA)

Send a fake ARP packet when a vif comes up, to let switches
see the MAC address.

21 years agobitkeeper revision 1.1159.1.121 (4137d43394yNc9HkT8Aj5R2yv-YSWQ)
iap10@labyrinth.cl.cam.ac.uk [Fri, 3 Sep 2004 02:17:23 +0000 (02:17 +0000)]
bitkeeper revision 1.1159.1.121 (4137d43394yNc9HkT8Aj5R2yv-YSWQ)

Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into labyrinth.cl.cam.ac.uk:/auto/anfs/scratch/labyrinth/iap10/xeno-clone/xeno.bk

21 years agobitkeeper revision 1.1159.53.29 (41375973qY_UE105oFj3W3t-UwIp5g)
kaf24@scramble.cl.cam.ac.uk [Thu, 2 Sep 2004 17:33:39 +0000 (17:33 +0000)]
bitkeeper revision 1.1159.53.29 (41375973qY_UE105oFj3W3t-UwIp5g)

Fix security hole in multicall hypercall. Now check whether the multicall
list overlaps Xen's private address space.